home *** CD-ROM | disk | FTP | other *** search
-
- /*
- ** EXECUTE.C - This is the module containing the code for SQL for
- ** executing SQL Commands.
- **
- ** (C) Copyright 1991, 1992 By Microsoft Corp.
- */
-
-
- #include "sample.h"
-
-
- // Execute a prepared SQL statement
-
- SQL_PRE_API RETCODE SQL_API
- SQLExecute(
- HSTMT hstmt)
- {
- return SQL_SUCCESS;
- }
-
-
- // Performs the equivalent of SQLPrepare, followed by SQLExecute.
-
- SQL_PRE_API RETCODE SQL_API
- SQLExecDirect(
- HSTMT hstmt,
- UCHAR FAR *szSqlStr,
- SDWORD cbSqlStr)
- {
- return SQL_SUCCESS;
- }
-
-
- // Returns the SQL string as modified by the driver.
-
- SQL_PRE_API RETCODE SQL_API
- SQLNativeSql(
- HDBC hdbc,
- UCHAR FAR *szSqlStrIn,
- SDWORD cbSqlStrIn,
- UCHAR FAR *szSqlStr,
- SDWORD cbSqlStrMax,
- SDWORD FAR *pcbSqlStr)
- {
- return SQL_SUCCESS;
- }
-
-
- // Supplies parameter data at execution time. Used in conjuction with
- // SQLPutData.
-
- SQL_PRE_API RETCODE SQL_API
- SQLParamData(
- HSTMT hstmt,
- PTR FAR *prgbValue)
- {
- return SQL_SUCCESS;
- }
-
-
- // Supplies parameter data at execution time. Used in conjunction with
- // SQLParamData.
-
- SQL_PRE_API RETCODE SQL_API
- SQLPutData(
- HSTMT hstmt,
- PTR rgbValue,
- SDWORD cbValue)
- {
- return SQL_SUCCESS;
- }
-
-
- SQL_PRE_API RETCODE SQL_API
- SQLCancel(
- HSTMT hstmt)
- {
- return SQL_SUCCESS;
- }
-